echo %1
IF DEFINED PROGRAMFILES(x86)  (
@echo This is a 64 bit OS
"c:\Program Files (x86)\Microsoft Visual Studio %1\Common7\IDE\devenv.exe" /resetaddin DesignPatterns.Connect /Command File.Exit
) else (
@echo This is a 32 bit OS
"c:\Program Files\Microsoft Visual Studio %1\Common7\IDE\devenv.exe" /resetaddin DesignPatterns.Connect /Command File.Exit
)

rem "c:\Program Files (x86)\Microsoft Visual Studio %1\Common7\IDE\devenv.exe" /resetaddin DesignPatterns.Connect /Command File.Exit
